package com.xhdx.java8;

public class People {
    private Integer no;
    private String name;
    private String mobile;
    private Integer age;
    private Double sal;
    public People(){
        this.no=0;
        this.name = "ming";
        this.mobile = "121212121";
        this.age = 28;
        this.sal = 1999999.99;
    }
    public People(String name){
        this.no=1;
        this.name = name;
        this.mobile = "121212121";
        this.age = 28;
        this.sal = 1999999.99;
    }
    public People(Integer no,String name, String mobile, Integer age){
        this.no=no;
        this.name = name;
        this.mobile = mobile;
        this.age = age;
        this.sal = 999999.99;
    }
    public People(Integer no,String name, Integer age,Double sal){
        this.no=no;
        this.name = name;
        this.mobile = "22222222";
        this.age = age;
        this.sal = sal;
    }
    public People(String name, String mobile, Integer age){
        this.no=2;
        this.name = name;
        this.mobile = mobile;
        this.age = age;
        this.sal = 999999.99;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
    public Double getSal() {
        return sal;
    }
    public void setSal(Double sal) {
        this.sal = sal;
    }
    public Integer getNo() {
        return no;
    }
    public void setNo(Integer no) {
        this.no = no;
    }

}
